package chapter_23_stragtegy.my;

/**
 * Created by CharloYao on 2017/9/29.
 */
public class Client {
    public static void main(String[] args) {

        Coffee1 coffee1 = new Coffee1();
        Coffee2 coffee2 = new Coffee2();

        SalesCleak salesCleak = null;

        salesCleak = new SalesCleak(coffee1);
        salesCleak.makeCoffee();

        salesCleak = new SalesCleak(coffee2);
        salesCleak.makeCoffee();

    }
}
